TEMPLATE = app
CONFIG += console
CONFIG -= app_bundle
CONFIG -= qt
CONFIG += object_parallel_to_source

SOURCES += \
#        compile.c \
#        disasm.c \
#        gctest.c \
        runner.c \
        src/exception.c \
        src/gc.c \
        src/image.c \
        src/jit.c \
        src/lib.c \
        src/lib/array.c \
        src/lib/boolean.c \
        src/lib/error.c \
        src/lib/function.c \
        src/lib/math.c \
        src/lib/number.c \
        src/lib/object.c \
        src/lib/string.c \
        src/object.c \
        src/scope.c \
        src/st.c \
        src/string.c \
        src/value.c \
        src/vm.c

INCLUDEPATH += /usr/include
INCLUDEPATH += $$PWD/inc

DEFINES += __WORDSIZE=64

HEADERS += \
    inc/exception.h \
    inc/gc.h \
    inc/image.h \
    inc/jit.h \
    inc/lib.h \
    inc/object.h \
    inc/scope.h \
    inc/st.h \
    inc/string.h \
    inc/value.h \
    inc/vm.h
